package sample.controller;

import sample.util.BeanHelper;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;


public class InitServlet extends HttpServlet {
    public void init() throws ServletException {
        super.init();
        initBeans();
    }

    /**
     * Initializes the bean factory.
     */
    private void initBeans() {
        BeanHelper.init(this.getServletContext());
    }
}
